if(TARGET Tools)
    # --------------------FormFactorDecorator -------------------- #      
    add_executable(FormFactorDecoratorTests FormFactorDecoratorTests.cpp)

    target_link_libraries(FormFactorDecoratorTests
      Core
      HelicityFormalism
      Tools
      Boost::unit_test_framework
    )
  
    target_include_directories(FormFactorDecoratorTests
      PUBLIC ${ROOT_INCLUDE_DIR} ${Boost_INCLUDE_DIR})

    # Move testing binaries into a testBin directory
    set_target_properties(FormFactorDecoratorTests
      PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin/test/
    )

    add_test(NAME FormFactorDecoratorTests
      WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/bin/test/
      COMMAND ${PROJECT_BINARY_DIR}/bin/test/FormFactorDecoratorTests)
      
else()
  message(WARNING "Requirements not found! Not building tests!")
endif()
